package cn.wzby;

public class Reg3 {
    public static void main(String[] args) {
            System.out.println("ace".matches("[a-f]{3}"));
            System.out.println("ja1357va".replace("1357",""));
            System.out.println("悟空，悟能，悟净".replace("悟",""));
            System.out.println("悟空，悟能，悟净".replaceAll("悟",""));
            System.out.println("悟空，悟能，悟净".replaceFirst("悟",""));
    }
}
